
statvar = statvars - 400

Cursor_Building_Space .equ statVars + 400

Building_Total_HP .equ statvar + 740

Building_Chosen_By_Cursor .equ statvar + 742

TagX .equ statvar + 701
TagY .equ statvar + 700

DeltaPreserve .equ statvar + 702  ;Saves whatever was the map scrolling speed


CurrentBuilding .equ statvar + 704



NumberPreserve .equ statvar + 729 ;For conversion from number to text


ASCIINumber .equ statvar + 723	;For conversion from number to text

Sprite_Width .equ statvar + 706

;How many buildings we have
BuildingCount .equ statvar + 707

Select_Cursor_X .equ statvar + 708
Select_Cursor_Y .equ statvar + 709

BuildingSelected .equ statvar + 710


;Which menu to draw, if we do indeed need to draw it

MenuIdentity .equ statvar + 711

TileX .equ statvar + 712
TileY .equ statvar + 713


Tile_X = TileX
Tile_Y = TileY

Cursor_X = Select_Cursor_X
Cursor_Y = Select_Cursor_Y
Building_Count .equ statvar + 716

Structures_On_Map = Structure_Locations

List_Of_Buildings_Under_Construction .equ statVars
End_Of_List_Of_Buildings_Under_Construction .equ statvar + 717
Building_Finished .equ statvar + 718

flag .equ asm_Flag1

Current_Menu .equ statvar + 757  ;Two Bytes

Current_Key_Group .equ statvar + 721

Interrupt_Counter .equ statvar + 722



InterruptTimer = Interrupt_Counter
Map_Width=mapwidth

Twenty_Frames_Per_Second .equ 2	;The interrupt routine will
					;run 7 times before a new
					;frame, unless a different value
					;for Frames_Per_Second is specified


Structure_Under_Cursor .equ statvar + 745

Current_Building = Structure_Under_Cursor

;Text to draw for things like not enough belthium,
;base under attack, etc.

Standard_Alert_Text  .equ statvar + 747

Standard_Alert_Perimeters .equ statvar + 751

Money_Amount_Y .equ statvar + 754
Money_Amount_X .equ statvar + 755

Working_On_Number_Of_Ships .equ statvar + 766
Player_Ship_DE .equ statvar + 767
Preserve_Player_X_Y .equ statvar + 769


;-------------------------------------------------
;A WHOLE BUNCH OF TIMERS CONTROLLED BY INTERRUPTS.
;-------------------------------------------------

Standard_Alert_Timer .equ statvar + 749

Gain_Additional_Money_Timer .equ statvar + 753





;---------------------------------------------------
; SAVES THE VALUES OF FLAGS THAT ARE NORMALLY
; USED BY THE CALCULATOR
;---------------------------------------------------


FlagPreserve1 .equ statvar + 760





Ship_Building .equ statvar + 762
Building_Emergency_HP .equ statvar + 764
PlayerID .equ statvar + 773

Building_Count_Player_Two .equ statvar + 774


Multiplayer_Data_Send .equ cmdshadow
Multiplayer_Data_Recieved .equ cmdshadow + 20
Text_Buffer .equ cmdshadow + 40